package com.atguigu.gmall.search.pojo;

import lombok.Data;

import java.util.List;

@Data
public class SearchParamVo {
    //关键字
    private String keyword;
    //品牌过滤
    private List<Long> brandId;
    //分类过滤
    private List<Long> categoryId;
    // 规格参数的过滤条件：["4:8G-12G", "5:256G-512G"]
    private List<String> props;
    // 排序条件：：0-默认，得分降序 1-价格降序 2-价格升序 3-销量降序 4-新品降序
    private Integer sort = 0;

    //价格区间过滤
    private Double priceFrom;
    private Double priceTo;

    //分页
    private Integer pageNum = 1;
    private final Integer pageSize = 20;

    //显示有货
    private Boolean store;

}
